package top.snoweagle.simple.console.common.domain.http;

import top.snoweagle.simple.console.common.domain.system.User;

import java.io.Serializable;

/**
 * Created by wangshaobo on 2015/10/23.
 */
public class RestResponse implements Serializable {
    private UserSession userSession;
    private Object data;
    private String status;
    private String message;


    public UserSession getUserSession() {
        return userSession;
    }

    public void setUserSession(UserSession userSession) {
        this.userSession = userSession;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public void setData(String data) {
        this.data = data;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "RestResponse{" +
                "userSession=" + userSession +
                ", data=" + data +
                ", status='" + status + '\'' +
                ", message='" + message + '\'' +
                '}';
    }
}
